# Use an official Python runtime as a parent image
FROM  debian:unstable-20240812

# Set the working directory in the container
WORKDIR /opt/
ENV CONFIGFILEPATH=/opt/config.conf
# Copy the current directory contents into the container at /app
COPY  ./config /opt/
COPY  k8s-platform /opt/

# Make port 80 available to the world outside this container
EXPOSE 9091

# Run app.py when the container launches
CMD ["./k8s-platform"]